package com.wuhuahe.learning.lagou.service.resume.service.impl;

import com.wuhuahe.learning.lagou.service.resume.mapper.ResumeMapper;
import com.wuhuahe.learning.lagou.service.resume.pojo.Resume;
import com.wuhuahe.learning.lagou.service.resume.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ResumeServiceImpl implements ResumeService {

    @Autowired
    private ResumeMapper resumeMapper;

    @Override
    public Resume findDefaultResumeByUserId(Long userId) {
        return resumeMapper.findByUserId(userId);
    }
}
